﻿<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="0">
    <title>节目库</title>
    <script charset="utf-8" type="text/javascript" src="js/init3.js?v=2014122229711"></script>
    <style>
        .norecords {
            border-width: 2px !important;
            display: none;
            font-weight: bold;
            left: 45%;
            margin: 5px;
            padding: 6px;
            text-align: center;
            top: 45%;
            width: auto;
            z-index: 102;
        }

        .ui-jqgrid tr.jqgrow td {
            white-space: normal !important;
            word-wrap: break-word;
            height:auto;
            vertical-align:text-top;
            padding-top:2px;
        }
    </style>
</head>
<body>

<header></header>
<div class="wrapper wrapper-video">
    <div class="container container-video">
        <div id="ProgramListContainer" class="container-list" >
            <div class="query" id="QueryContainer">
                <form class="form-horizontal form-container form-inline" name="basicFrm" autocomplete="off">
                    <div class="container">
                        <div class="row">
                            <div class="span3">
                                <div class="control-group">
                                    <label class="control-label">节目奇谱ID：</label>

                                    <div class="controls">
                                        <input type="text" name="qipuId" placeholder="" autocomplete="off"
                                               class="input-small query-input-text">
                                    </div>
                                </div>
                            </div>
                            <div class="span5">
                                <div class="control-group">
                                    <label class="control-label">节目名称：</label>
                                    <div class="controls">
                                        <input type="text"
                                               name="pname"
                                               placeholder="" autocomplete="off"
                                               class="input-medium query-input-text ui-autocomplete-input">
                                    </div>
                                </div>
                            </div>

                            <div class="span8">
                                <div class="control-group">
                                    <label class="control-label">开始时间：</label>

                                    <div class="controls">
                                        <input type="text" name="startDate" placeholder="" autocomplete="off" class="input-medium">
                                        ~
                                        <input type="text" name="endDate" placeholder="" autocomplete="off" class="input-medium">
                                        &nbsp;&nbsp;&nbsp;
                                        <a href="javascript:void(0);" onclick="Program.Util.calculateDate('today')" class="data-select">今日</a>
                                        <a href="javascript:void(0);" onclick="Program.Util.calculateDate('yesterday')" class="data-select">昨日</a>
                                        <a href="javascript:void(0);" onclick="Program.Util.calculateDate('2days')" class="data-select">2天</a>
                                        <a href="javascript:void(0);" onclick="Program.Util.calculateDate('7days')" class="data-select">7天</a>
                                        <a href="javascript:void(0);" onclick="Program.Util.calculateDate('7days+')" class="data-select">7日+</a>
                                        <a href="javascript:void(0);" onclick="Program.Util.calculateDate('absToday')" class="data-select" id="absToday" style="display: none;color: red;">囧rz</a>
                                        <a href="javascript:void(0);" onclick="Program.Util.calculateDate('absToday+')" class="data-select" id="absToday+" style="display: none;color: green;">இ</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="span3">
                                <div class="control-group cleargroup">
                                    <label class="control-label">收费状态：</label>

                                    <div class="controls">
                                        <select name="bossStatus" class="input-small pps-content-type"
                                                autocomplete="off">
                                            <option value="">请选择</option>
                                            <option value="FREE">免费</option>
                                            <option value="PAIED_NOT_AVAILABLE">付费未划价</option>
                                            <option value="PAIED_AVAILABLE">付费已划价</option>
                                        </select>
                                    </div>
                                </div>
                            </div>

                            <div class="span5">
                                <div class="control-group">
                                    <label class="control-label">节目类型：</label>
                                    <div class="controls">
                                        <select name="liveProgramType" placeholder="" autocomplete="off"
                                               class="input-small pps-content-type">
                                        </select>
                                    </div>
                                </div>
                            </div>

                            <div class="span4">
                                <div class="control-group">
                                    <label class="control-label">节目状态：</label>
                                    <div class="controls">
                                        <select name="deleteStatus" class="input-small pps-content-type">
                                            <option value="0">启用</option>
                                            <option value="1">删除</option>
                                            <option value="99">全部</option>
                                        </select>
                                    </div>
                                </div>
                            </div>

                            <div class="span5" id="hotDiv">
                                <div class="control-group">
                                    <label class="control-label" style="width:140px;">是否允许进入热门直播：</label>
                                    <div class="controls">
                                        <select name="hot" class="input-small pps-content-type">
                                            <option value="1">是</option>
                                            <option value="0">否</option>
                                            <option value="" selected>全部</option>
                                        </select>
                                    </div>
                                </div>
                            </div>


                        </div>
                        <div class="row">
                            <div class="span3">
                                <div class="control-group">
                                    <label class="control-label">频道名称：</label>

                                    <div class="controls">
                                        <input type="text" name="channelName" placeholder="" autocomplete="off"
                                               class="input-small query-input-text">
                                    </div>
                                </div>
                            </div>

                            <div class="span5">
                                <div class="control-group ">
                                    <label class="control-label">直播类型：</label>
                                    <div class="controls">
                                        <select name="liveType" class="input-small" style="width: 88px"
                                                autocomplete="off">
                                            <option value="">请选择</option>
                                        </select>
                                        <select name="liveChannelType" class="input-small"
                                                autocomplete="off" style="display: none">
                                            <option value="">请选择</option>
                                        </select>
                                    </div>
                                </div>
                            </div>

                            <div class="span4">
                                <div class="control-group">
                                    <label class="control-label">节目播放状态：</label>
                                    <div class="controls">
                                        <select name="playStatus" class="input-small pps-content-type">
                                            <option value="">全部</option>
                                            <option value="0">未开始</option>
                                            <option value="1">直播中</option>
                                            <option value="2">回看中</option>
                                            <option value="3">回看结束</option>
                                        </select>
                                    </div>
                                </div>
                            </div>

                            <div class="span4" id="testDiv">
                                <div class="control-group">
                                    <label class="control-label" style="width: 140px;">是否为测试数据：</label>
                                    <div class="controls">
                                        <select name="test" class="input-small pps-content-type">
                                            <option value="1">是</option>
                                            <option value="0" selected>否</option>
                                            <option value="">全部</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="span3">
                                <div class="control-group">
                                    <label class="control-label">节目等级：</label>
                                    <select name="episodeGrade" id="episodeGrade" class="input-small">
                                    </select>
                                </div>
                            </div>

                            <div class="span5" id="recommendRateDiv">
                                <div class="control-group">
                                    <label class="control-label">推荐等级：</label>
                                    <select name="recommendRate" id="recommendRate" class="input-small">
                                    </select>
                                </div>
                            </div>

                        </div>

                        <div class="control-group">
                            <label class="control-label"></label>

                            <div class="controls">
                                <button type="button" class="btn btn-primary query-btn">搜索</button>
                                <button type="reset" id="resetFrm" class="btn">重置</button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="result">
                <div class="le-grid">
                    <table id="list">
                        <tr>
                            <td></td>
                        </tr>
                    </table>
                    <div id="pager"></div>
                </div>
            </div>
        </div>
    </div>
</div>

<div id="programLogDiv" style="display: none">
    <table id="logList">
        <tr>
            <td></td>
        </tr>
    </table>
    <div id="log_pager"></div>
</div>
<div id="feedDiv" style="display: none">
    <table id="feedList">
        <tr>
            <td></td>
        </tr>
    </table>
    <div id="feed_pager"></div>
</div>
<script type="text/javascript">
        require(['epg2'], function() {
            Program.Action.libraryRun();
        })
</script>
</body>
</html>